package top.techqi.hamtools.db.convert

import com.raizlabs.android.dbflow.converter.TypeConverter
import top.techqi.hamtools.db.assist.RstS

@com.raizlabs.android.dbflow.annotation.TypeConverter
class RstSConverter : TypeConverter<Int, RstS>() {
    override fun getDBValue(model: RstS) = model.value
    override fun getModelValue(data: Int) = RstS.valueOf(data)
}
